#! /bin/bash
N=0
for i in $(seq 1 14);
do
	let N=160+i
	scp /root/traffic.sh /root/random.txt u@10.21.5.$N:~ &> /dev/null
	if [ $? -eq 0 ]; then
		echo "scp /root/traffic.sh /root/random.txt u@10.21.5.$N:~"
	else
		echo "Unable to connect to host 10.21.5.$N"
	fi
done
